<#import '/ftlLibrary/properteisVariable.ftl' as pv/>
<div class="row">
	<div class="col-lg-12 col-sm-12 col-xs-12">
		<div class="widget">
			<div class="widget-header bordered-bottom theme">
				<span class="widget-caption">收支出流水表-${(editModel=='add')?string('新增','编辑')}</span>
				<div class="widget-buttons">
					<a href="#" data-toggle="collapse">
						<i class="fa fa-minus"></i>
					</a>
					<a href="#" data-toggle="maximize">
						<i class="fa fa-expand"></i>
					</a>
				</div>
			</div>
			<div class="widget-body">
				<div class="row">
					<form class="editForm" action="${saveUrl}" method="post" responseType="JSON" role="form" id="editForm_${serializeNum}"
						data-bv-submitButtons="#editFormSubmitBtn_${serializeNum}"
						data-bv-message="This value is not valid"
						data-bv-feedbackicons-valid="glyphicon glyphicon-ok"
						data-bv-feedbackicons-invalid="glyphicon glyphicon-remove"
						data-bv-feedbackicons-validating="glyphicon glyphicon-refresh">
							<input type="hidden" name="id" value="${editEntity.id}">
							<#if (true && editModel=='add')||(true && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="qzPay" class="col-sm-2 control-label no-padding-right">亲子(缴费)</label>
									<div class="col-sm-10">
										<input data-bv-numeric="true" data-bv-message="The field is not valid" data-bv-numeric-message="The field is numeric" size="22" name="qzPay" alt="亲子(缴费)" id="qzPay" placeholder="亲子(缴费)" type="text" title="亲子(缴费)" class="form-control"  value="${editEntity.qzPay}" />
										<span class="text"></span>
									</div>
								</div>
							</div>
							</#if>
							<#if (true && editModel=='add')||(true && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="gdPay" class="col-sm-2 control-label no-padding-right">预科(缴费)</label>
									<div class="col-sm-10">
										<input data-bv-numeric="true" data-bv-message="The field is not valid" data-bv-numeric-message="The field is numeric" size="22" name="gdPay" alt="预科(缴费)" id="gdPay" placeholder="预科(缴费)" type="text" title="预科(缴费)" class="form-control"  value="${editEntity.gdPay}" />
										<span class="text"></span>
									</div>
								</div>
							</div>
							</#if>
							<#if (true && editModel=='add')||(true && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="qzRefund" class="col-sm-2 control-label no-padding-right">亲子(退费)</label>
									<div class="col-sm-10">
										<input data-bv-numeric="true" data-bv-message="The field is not valid" data-bv-numeric-message="The field is numeric" size="22" name="qzRefund" alt="亲子(退费)" id="qzRefund" placeholder="亲子(退费)" type="text" title="亲子(退费)" class="form-control"  value="${editEntity.qzRefund}" />
										<span class="text"></span>
									</div>
								</div>
							</div>
							</#if>
							<#if (true && editModel=='add')||(true && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="gdRefund" class="col-sm-2 control-label no-padding-right">预科(退费)</label>
									<div class="col-sm-10">
										<input data-bv-numeric="true" data-bv-message="The field is not valid" data-bv-numeric-message="The field is numeric" size="22" name="gdRefund" alt="预科(退费)" id="gdRefund" placeholder="预科(退费)" type="text" title="预科(退费)" class="form-control"  value="${editEntity.gdRefund}" />
										<span class="text"></span>
									</div>
								</div>
							</div>
							</#if>
							<#if (true && editModel=='add')||(true && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="startTime" class="col-sm-2 control-label no-padding-right">转园(退费)</label>
									<div class="col-sm-10">
										<span class="input-icon icon-left">
											<input data-bv-date-format="YYYY-MM-DD hh:mm:ss" data-bv-message="The field is not valid" data-bv-date-message="请正确输入一个时间" data-bv-date="true" size="19" name="startTime" alt="转园(退费)" id="startTime" placeholder="转园(退费)" type="text" title="转园(退费)" class="form-control form-control date-picker" onfocus="WdatePicker({doubleCalendar:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})"  value="${editEntity.startTime}"/>
											<i class="fa fa-calendar"></i>
										</span>
									</div>
								</div>
							</div>
							</#if>
							<#if (true && editModel=='add')||(true && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="endTime" class="col-sm-2 control-label no-padding-right">学员卡(退费)</label>
									<div class="col-sm-10">
										<span class="input-icon icon-left">
											<input data-bv-date-format="YYYY-MM-DD hh:mm:ss" data-bv-message="The field is not valid" data-bv-date-message="请正确输入一个时间" data-bv-date="true" size="19" name="endTime" alt="学员卡(退费)" id="endTime" placeholder="学员卡(退费)" type="text" title="学员卡(退费)" class="form-control form-control date-picker" onfocus="WdatePicker({doubleCalendar:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})"  value="${editEntity.endTime}"/>
											<i class="fa fa-calendar"></i>
										</span>
									</div>
								</div>
							</div>
							</#if>
							<#if (true && editModel=='add')||(true && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="totalPrice" class="col-sm-2 control-label no-padding-right">合计</label>
									<div class="col-sm-10">
										<input data-bv-numeric="true" data-bv-message="The field is not valid" data-bv-numeric-message="The field is numeric" size="22" name="totalPrice" alt="合计" id="totalPrice" placeholder="合计" type="text" title="合计" class="form-control"  value="${editEntity.totalPrice}" />
										<span class="text"></span>
									</div>
								</div>
							</div>
							</#if>
							<#if (true && editModel=='add')||(true && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="totalChargeBackPrice" class="col-sm-2 control-label no-padding-right">园所ID</label>
									<div class="col-sm-10">
										<input data-bv-numeric="true" data-bv-message="The field is not valid" data-bv-numeric-message="The field is numeric" size="22" name="totalChargeBackPrice" alt="园所ID" id="totalChargeBackPrice" placeholder="园所ID" type="text" title="园所ID" class="form-control"  value="${editEntity.totalChargeBackPrice}" />
										<span class="text"></span>
									</div>
								</div>
							</div>
							</#if>
							<#if (false && editModel=='add')||(false && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="createTime" class="col-sm-2 control-label no-padding-right">园所名称</label>
									<div class="col-sm-10">
										<span class="input-icon icon-left">
											<input data-bv-date-format="YYYY-MM-DD hh:mm:ss" data-bv-message="The field is not valid" data-bv-date-message="请正确输入一个时间" data-bv-date="true" size="19" name="createTime" alt="园所名称" id="createTime" placeholder="园所名称" type="text" title="园所名称" class="form-control form-control date-picker" onfocus="WdatePicker({doubleCalendar:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})"  value="${editEntity.createTime}"/>
											<i class="fa fa-calendar"></i>
										</span>
									</div>
								</div>
							</div>
							</#if>
							<#if (false && editModel=='add')||(false && editModel=='edit')>
							<div class="col-xm-12 col-sm-6 col-lg-4">
								<div class="form-group">
									<label for="version" class="col-sm-2 control-label no-padding-right">财务创建时间</label>
									<div class="col-sm-10">
										<input  data-bv-integer-message="The field is number" data-bv-message="The field is not valid" data-bv-integer="true" size="11" name="version" alt="财务创建时间" id="version" placeholder="财务创建时间" type="text" title="财务创建时间" class="form-control"  value="${editEntity.version}" />
										<span class="text"></span>
									</div>
								</div>
							</div>
							</#if>
						<div class="col-sm-12">
							<input type="button" class="btn btn-default" data-dismiss="modal" value="返回" />
							<button type="submit" class="btn btn-blue" id="editFormSubmitBtn_${serializeNum}">保存</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="assets/js/validation/bootstrapValidator_init.js"></script>
<script>
$(".selectpicker_${serializeNum}").select2();
</script>